package com.lesent.kafka.service;

import com.lesent.kafka.model.Student;

import java.io.UnsupportedEncodingException;
import java.util.List;

public interface IZookeeperService {

    String set(String path, Object obj) throws Exception;

    boolean isExists(String path) throws Exception;

    boolean remove(String path) throws Exception;

    void test() throws Exception;

    <T> T get(String path,Class<T> tClass) throws Exception;

    List<String> getChildren(String path) throws Exception;
}
